let AddressData={
    init:function(){
        //console.log('AddressData init',this.sheng.length);
        for(let i=0;i<this.sheng.length;i++){
            this['_'+this.sheng[i].value]=[];
            let shiary=cities['_'+this.sheng[i].value];
            for(let k=0;k<shiary.length;k++){
                let txtStrList=shiary[k].split('_');
                //console.log(txtStrList);
                //this['_'+this.sheng[i].value].push({'name':shiary[k],'value':this.sheng[i].value});
                this['_'+this.sheng[i].value].push({'name':txtStrList[0],'value':txtStrList[1]});
            }
            //console.log('AddressData init',this['_'+this.sheng[i].value]);
        }
    }
};

AddressData.sheng=[
    { name: '山西省', value: '140000' },
    { name: '天津市', value: '120000' },
    { name: '河北省', value: '130000' },
    { name: '北京市', value: '110000' },
    { name: '内蒙古自治区', value: '150000' },
    { name: '辽宁省', value: '210000' },
    { name: '吉林省', value: '220000' },
    { name: '黑龙江省', value: '230000' },
    { name: '上海市', value: '310000' },
    { name: '江苏省', value: '320000' },
    { name: '浙江省', value: '330000' },
    { name: '安徽省', value: '340000' },
    { name: '福建省', value: '350000' },
    { name: '江西省', value: '360000' },
    { name: '山东省', value: '370000' },
    { name: '河南省', value: '410000' },
    { name: '湖北省', value: '420000' },
    { name: '湖南省', value: '430000' },
    { name: '广东省', value: '440000' },
    { name: '广西壮族自治区', value: '450000' },
    { name: '海南省', value: '460000' },
    { name: '重庆市', value: '500000' },
    { name: '四川省', value: '510000' },
    { name: '贵州省', value: '520000' },
    { name: '云南省', value: '530000' },
    { name: '西藏自治区', value: '540000' },
    { name: '陕西省', value: '610000' },
    { name: '甘肃省', value: '620000' },
    { name: '青海省', value: '630000' },
    { name: '宁夏回族自治区', value: '640000' },
    { name: '新疆维吾尔自治区', value: '650000' },
    { name: '台湾省', value: '710000' },
    { name: '香港特别行政区', value: '810000' },
    { name: '澳门特别行政区', value: '820000' },
    { name: '深圳', value: '440300' }
];





let cities ={};
cities['_130000']=['石家庄_130100', '张家口市_130700', '承德市_130800', '秦皇岛市_130300', '唐山市_130200', '廊坊市_1310000',
    '保定市_130600', '沧州市_130900', '衡水市_131100', '邢台市_130500', '邯郸市_130400'];
cities['_140000']=['太原市_140100', '大同市_140200', '朔州市_140600', '阳泉市_140_300', '长治市_140400', '晋城市_140500', '忻州市_140900',
    '吕梁市_141100', '晋中市_140700', '临汾市_141000', '运城市_140800'];
cities['_110000']=['东城区_110101','西城区_110102','昌平区_110114','顺义区_110113','朝阳区_110105','海淀区_110108','丰台区_110106',
    '石景山区_110107','门头沟区_110109','房山区_110111','通州区_110112','大兴区_110115','怀柔区_110116','平谷区_110117','密云区_110118','延庆区_110119'];
cities['_440300']=['罗湖_440303','福田_440304','南山_440305','盐田_440308','宝安_440306','龙岗_440307','龙华区_440309','坪山区_440310',
    '光明区_440311'];
cities['_310000']=['宝山区_310113','金山区_310116','长宁区_310105','静安区_310106','青浦区_310118','崇明县_310151','松江区_310117','奉贤区_310120','浦东新区_310115',
    '杨浦区_310110','虹口区_310109','普陀区_310107','黄浦区_310101','闵行区_310112','徐汇区_310104','嘉定区_310114'];
cities['_120000']=['和平区_120101','河东区_120102','河西区_120103','南开区_120104','河北区_120105','红桥区_120106','东丽区_120110','西青区_20111',
    '津南区_120112','北辰区_120113','武清区_120114','宝坻区_120115','滨海新区_120116','宁河区_120117','静海区_120118','蓟州区_120119'];
cities['_500000']=['万州区_500101','涪陵区_500102','渝中区_500103','大渡口区_500104','江北区_500105','沙坪坝区_500106','九龙坡区_500107','南岸区_500108',
    '北碚区_500109','綦江区_500110','大足区_500111','渝北区_500112','巴南区_500113','黔江区_500114','长寿区_500115','江津区_500116','合川区_500117',
    '永川区_500118','南川区_500119','璧山区_500120','铜梁区_500151','潼南区_500152','荣昌区_500153','开州区_500154','梁平区_500155','武隆区_500156',
    '城口县_500229','丰都县_500230','垫江县_500231','忠县_500233','云阳县_500235','奉节县_500236','巫山县_500237','巫溪县_500238',
    '石柱县_500240','秀山县_500241','酉阳县_500242','彭水县_500243'];
cities['_210000']=['沈阳市_210100','大连市_210200','鞍山市_210300','抚顺市_210400','本溪市_210500','丹东市_210600','锦州市_210700','营口市_210800',
    '阜新市_210900','辽阳市_211000','盘锦市_211100','铁岭市_211200','朝阳市_211300','葫芦岛市_211400'];
cities['_220000']=['长春市_220100','吉林市_220200','四平市_220300','辽源市_220400','通化市_220500','白山市_220600','松原市_220700',
    '白城市_220800','延边州_222400'];
cities['_230000']=['哈尔滨市_230100','齐齐哈尔市_230200','鸡西市_230300','佳木斯市_230800','牡丹江市_231000','七台河市_230900','双鸭山市_230500',
    '黑河市_231100','大兴安岭地区_232700', '伊春市_230700','绥化市_231200','鹤岗市_230400','大庆市_230600'];
cities['_320000']=['南京市_320100','苏州市_320500','无锡市_320200','常州市_320400','南通市_320600','扬州市_321000','镇江市_321100','泰州市_321200',
    '盐城市_320900', '连云港市_320700','宿迁市_321300','淮安市_320800','徐州市_320300'];
cities['_330000']=['杭州市_330100','宁波市_330200','温州市_330300','嘉兴市_330400','湖州市_330500','绍兴市_330600','金华市_330700','衢州市_330800',
    '舟山市_330900','台州市_331000','丽水市_331100'];
cities['_340000']=['合肥市_340100','芜湖市_340200','蚌埠市_340300','淮南市_340400','马鞍山市_340500','淮北市_340600','铜陵市_340700','安庆市_340800',
    '黄山市_341000','滁州市_341100','阜阳市_341200','宿州市_341300','六安市_341500','亳州市_341600','池州市_341700','宣城市_341800'];
cities['_350000']=['福州市_350100','厦门市_350200','莆田市_350300','三明市_350400','泉州市_350500','漳州市_350600','南平市_350700',
    '龙岩市_350800','宁德市_350900'];
cities['_360000']=['南昌市_360100','景德镇市_360200','萍乡市_360300','九江市_360400','新余市_360500','鹰潭市_360600','赣州市_360700',
    '吉安市_360800','宜春市_360900','抚州市_361000','上饶市_361100'];
cities['_370000']=['济南市_370100','青岛市_370200','淄博市_370300','枣庄市_370400','东营市_370500','烟台市_370600','潍坊市_370700','济宁市_370800',
    '泰安市_370900','威海市_371000','日照市_371100','临沂市_371300','德州市_371400','聊城市_371500','滨州市_371600','菏泽市_371700'];
cities['_410000']=['郑州市_410100','开封市_410200','洛阳市_410300','平顶山市_410400','安阳市_410500','鹤壁市_410600','新乡市_410700','焦作市_410800',
    '濮阳市_410900','许昌市_411000','漯河市_411100','三门峡市_411200','南阳市_411300','商丘市_411400','信阳市_411500','周口市_411600','驻马店市_411700','济源市_41900100'];
cities['_420000']=['武汉市_420100','黄石市_420200','十堰市_420300','荆州市_421000','宜昌市_420500','襄阳市_420600','鄂州市_420700','荆门市_420800',
    '孝感市_420900','黄冈市_421100','咸宁市_421200','随州市_421300','恩施州_422800','仙桃市_429004','潜江市_429005','天门市_429006','神农架林区_429021'];
cities['_430000']=['长沙市_430100','株洲市_430200','湘潭市_430300','衡阳市_430400','邵阳市_430500','岳阳市_430600','常德市_430700','张家界市_430800',
    '益阳市_430900','郴州市_431000','永州市_431100','怀化市_431200','娄底市_431300','湘西州_433100'];
cities['_440000']=['广州市_440100','珠海市_440400','汕头市_440500','韶关市_440200','佛山市_440600','江门市_440700','湛江市_440800','茂名市_440900',
    '肇庆市_441200','惠州市_441300','梅州市_441400','汕尾市_441500','河源市_441600','阳江市_441700','清远市_441800',
    '东莞市_441900','中山市_442000','潮州市_445100','揭阳市_445200','云浮市_445300'];
cities['_460000']=['文昌市_469005','琼海市_469002','万宁市_469006','五指山市_469001','东方市_469007','儋州市_460300','海口市_460100','三亚市_460200',
    '三沙市_460400','定安县_469021','屯昌县_469022','澄迈县_469023','临高县_469024','白沙_469025','昌江_469026','乐东_469027','陵水_469028',
    '保亭_469029','琼中_469030','西沙群岛_469031','南沙群岛_469032','中沙群岛_469033'];
cities['_510000']=['成都市_510100','自贡市_510300','攀枝花市_510400','泸州市_510500','德阳市_510600','绵阳市_510700','广元市_510800','遂宁市_510900',
    '内江市_511000','乐山市_511100','南充市_511300','眉山市_511400','宜宾市_511500','广安市_511600','达州市_511700','雅安市_511800','巴中市_511900',
    '资阳市_512000','阿坝州_513200','甘孜州_513300','凉山州_513400'];
cities['_520000']=['贵阳市_520100','六盘水市_520200','遵义市_520300','安顺市_520400','黔西南布依族苗族自治州_522300','毕节市_522400',
    '黔东南苗族侗族自治州_522600','黔南布依族苗族自治州_522700'];
cities['_530000']=['昆明市_530100','曲靖市_530300','玉溪市_530400','保山市_530500','昭通市_530600','丽江市_530700','普洱市_530800','临沧市_530900',
    '楚雄彝族自治州_532300','红河哈尼族彝族自治州_532500','文山壮族苗族自治州_532600','西双版纳傣族自治州_532800','大理白族自治州_532900',
    '德宏傣族景颇族自治州_533100','怒江傈僳族自治州_533300','迪庆藏族自治州_533400'];
cities['_610000']=['西安市_610100','铜川市_610200','宝鸡市_610300','咸阳市_610400','渭南市_610500','延安市_610600','汉中市_610700','榆林市_610800',
    '安康市_610900','商洛市_611000'];
cities['_620000']=['兰州市_620100','金昌市_620300','白银市_620400','天水市_620500','嘉峪关市_620200','武威市_620600','张掖市_620700','平凉市_620800',
    '酒泉市_620900','庆阳市_621000','定西市_621100','陇南市_621200','临夏州_622900','甘南州_623000'];
cities['_630000']=['西宁市_630100','海东地区_632100','海北州_632200','黄南州_632300','海南州_632500','果洛州_632600','玉树州_632700','海西州_632800'];
cities['_710000'] = ['台北市_710000','高雄市_710000','基隆市_710000','台中市_710000','台南市_710000','新竹市_710000','嘉义市_710000'];
cities['_450000']=['南宁市_450100','柳州市_450200','桂林市_450300','梧州市_450400','北海市_450500','防城港市_450600','钦州市_450700','贵港市_450800',
    '玉林市_450900','百色市_451000','贺州市_451100','河池市_451200','来宾市_451300','崇左市_451400'];
cities['_150000']=['呼和浩特市_150100','包头市_150200','乌海市_150300','赤峰市_150400','通辽市_150500','鄂尔多斯市_150600','呼伦贝尔市_150700',
    '巴彦淖尔市_150800','乌兰察布市_150900','兴安盟_152200','锡林郭勒盟_152500','阿拉善盟_152900'];
cities['_540000']=['拉萨市_540100','昌都地区_542100','山南地区_542200','日喀则地区_542300','那曲地区_542400','阿里地区_542500',
    '林芝地区_542600'];
cities['_640000']=['银川市_640100','石嘴山市_640200','吴忠市_640300','固原市_640400','中卫市_640500'];
cities['_650000']=['乌鲁木齐市_650100','克拉玛依市_650200','吐鲁番地区_652100','哈密地区_652200','昌吉州_652300','博尔塔拉蒙古自治州_652700','巴音郭楞蒙古自治州_652800',
    '阿克苏地区_652900','克州_653000','喀什地区_653100','和田地区_653200','伊犁州_654000','塔城地区_654200','阿勒泰地区_654300','省直辖行政单位_659000'];
cities['_810000']=['台北市_810000','高雄市_810000','基隆市_810000','台中市_810000','台南市_810000','新竹市_810000','嘉义市_810000'];
cities['_820000']=['澳门_820000'];

AddressData.init();

export default AddressData;
